* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background-image: url(../pic/cat.jpg);
    background-size: cover;
    background-position: center center;
}

.nav {
    height: 50px;
    width: 100%;
    color: white;
    background-color: rgba(144, 141, 141, 0.5);

    display: flex;
    justify-content: center;
    align-items: center;
}

.nav>img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 5px 10px;
}

.nav>.nav-span {
    width: 80px;
    text-decoration: none;
    color: white;
}


.nav>.blog-title {
    width: 100px;
}



.container {
    /* border: 1px solid red; */
    width: 800px;
    height: calc(100% - 50px);
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 
.container>.right {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    overflow-y: auto;
    border: 1px solid green;
} */


.container>.right {
    width: 100%;
    /* 设置容器宽度 */
    height: 100%;
    /* 设置容器高度 */
    overflow: auto;
    /* 显示滚动条，根据内容决定是否显示 */

    padding: 20px;
    border-radius: 10px;

    /* 隐藏默认的滚动条样式 */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.container>.right::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}